package com.bdcom.model;

import java.awt.Graphics2D;
import java.awt.Point;

public interface IBarrier {
	
	//绘制障碍物
	void drawBarrier(Graphics2D g,boolean selected);
	//判断某一点是否在障碍物上
	boolean containsPoint(Point point);
	//获取障碍物与直线的交点数
	int checkLineIntersectWithMe(double x0,double y0,double x1,double y1);
	

}
